# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=py3-ghp-import
pkgver=2.1.0
pkgrel=3
pkgdesc="copy your docs directly to the gh-pages branch"
url="https://github.com/c-w/ghp-import"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-dateutil"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/g/ghp-import/ghp-import-$pkgver.tar.gz"
builddir="$srcdir/ghp-import-$pkgver"
options="!check" # No tests.

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
10665a1a6392fe047d1e42d7f107511b1a31de02625200e7db1c637f33dc8dc41ec71c2db4f562c6e94a4efb4836efef8a29177d953d99fe17a889169074050c  ghp-import-2.1.0.tar.gz
"
